#include	"mpi.h"
#include	<stdio.h>
#include	<stdlib.h>


int main ( int argc, char *argv[] )
{
  int myrank, nprocs;

  MPI_Init( &argc, &argv );
  MPI_Comm_size( MPI_COMM_WORLD, &nprocs );
  MPI_Comm_rank( MPI_COMM_WORLD, &myrank );

  printf("My rank is: %d\n", myrank );
  MPI_Finalize();
  return EXIT_SUCCESS;
}				/* ----------  end of function main  ---------- */
